Test cleanup and misc

Tests cleaned up a little, bit, and small misc changes.

The most important, fixed a bug on SpriteGeneratorBuilder, where shading
was not being set.
Added clone and toString to Sprite

Added clone and toString methods to Sprite, plus private constructors to
utility classes.