fixed MazeTest and added a test for the routeRandom() method