Test cases for maze class