Put traversal logic in the tests

Now the traversal logic is in the tests and the two tests that create
standards implement a new interface containing the traverse method