rewrite full traversal test