writing test for navigation