Fixed #2421: added a SpriteWithRepeatingTexture test to SpriteTests

Added a SpriteWithRepeatingTexture test to SpriteTests