Fix the tile entity test failures.
Add sinon spy/stub library.
Add test for the on_hit and hit? methods.