Add some tests for game

An attempt to add some tests for the game class. Feedback welcome!