tests: fixes for gtk/pygobject trunk