writing tests for navigation links