This way we have both the test setup and testing in the same file. https://bugzilla.gnome.org/show_bug.cgi?id=777732
Use a special purpose backend when running the unit tests. This will eventually allow testing things like configuration and hot plugging. https://bugzilla.gnome.org/show_bug.cgi?id=777732