Add tests for navigation directive