Improve test coverage in gobject/tests