unit tests for Labyrinth