write tests for nav and make the pass