added tests for animation