Adding traversal tests

Adding traversal tests