refactored gameLogic tests