Implemented groovy traversal in test.