Added unit tests for the Sprite constructor