Using assert equals to check that the urls are the same instead of checking that the pages loaded are the same is the trick behind assertRedirectNoFollows, but I've removed all calls to that so this will be gone as well.