Fixed many compile errors in tests

These errors were largely due to severing the link between Entities and
Sprites. Since Entities no longer know about sprites, they are now much
simpler to test.