wrote tests for navigation