Test new

completed ai logic and added tests for gameService