Develop

Added unit tests and fixed several issues in Game model