unit tests for custom nav