glib2 test: split tests

One test should check only one thing.