using expect_url to test