AnimationTimeline tests bugfixing and refactornig