fixed the tests and the game initialisation