tests: Port text-test to new test framework

So much simpler this way and the test suite is now back too 100% pass.
diff --git a/tests/weston-test-client-helper.h b/tests/weston-test-client-helper.h
index 3e648ae..e84d3b2 100644
--- a/tests/weston-test-client-helper.h
+++ b/tests/weston-test-client-helper.h
@@ -37,6 +37,14 @@
 	struct output *output;
 	struct surface *surface;
 	int has_argb;
+	struct wl_list global_list;
+};
+
+struct global {
+	uint32_t name;
+	char *interface;
+	uint32_t version;
+	struct wl_list link;
 };
 
 struct test {