Writing navigation tests