added test for read-maze