Added extra coverage to mazeTest.
Fixed customMazeTeture bug