move test coverage out of test/name-test/ so it works when cross-compiling
None of the tests in test/name-test are designed to be run directly in a built tree: they rely on special "magic" environment variables. In Unix, they're run by test/name-test/run-test.sh, which indirectly uses dbus-run-session.
I don't think test/name-test/ is applicable to non-Autotools, non-Unix builds without significant work. I'd prefer to add enough test coverage to the GLib-style tests that test/name-test/ is no longer relevant, and then delete test/name-test/ altogether.