BreadthFirstVisit unit test