Add basic tests for nav backend
Some cleanups & simplifications