Writing tests for navigation