AnimatedSprite unit tests.