Added tests for the game engine.