make test_glgears_animation more robust