Add tests for Sprite and AnimatedSprite