Unit tests for gameManager