[tests] fix test with new pygobject