tests for maze