Added test for AnimationState