made a bunch of tests to check that we go to the correct view