Increase timeout for AnimationUtils.animateUsingClass()

This is for #8085 . I added unit test to catch this case, then I fixed bug.