Added functionality to TestSprite