Added traversal test cases