added tests for game api