Tests that setting the display property of a running animation to 'none' terminates the animation, and that setting it a value other than 'none' causes it to re-start from the start.