Sprite testing code working properly.