Tests for the Animation.targetChanged event.