changed test case for traversal to use solve instead

Erik 15 min