tests: Convert remaining module tests to not use test-runner.c

The remaining module tests don't need to fork and talk to a test client,
so just convert them to regular modules and let them handle running their
tests themselves.  Then drop test-runner.[ch].
diff --git a/tests/surface-test.c b/tests/surface-test.c
index 28243b1..b41c63f 100644
--- a/tests/surface-test.c
+++ b/tests/surface-test.c
@@ -25,10 +25,11 @@
 #include <assert.h>
 
 #include "../src/compositor.h"
-#include "test-runner.h"
 
-TEST(surface_transform)
+static void
+surface_transform(void *data)
 {
+	struct weston_compositor *compositor = data;
 	struct weston_surface *surface;
 	float x, y;
 
@@ -47,3 +48,15 @@
 
 	wl_display_terminate(compositor->wl_display);
 }
+
+WL_EXPORT int
+module_init(struct weston_compositor *compositor)
+{
+	struct wl_event_loop *loop;
+
+	loop = wl_display_get_event_loop(compositor->wl_display);
+
+	wl_event_loop_add_idle(loop, surface_transform, compositor);
+
+	return 0;
+}