added integration test for when restart is clicked the animation restarts