added tests for game