Fix bug 1058379 by updating the old mobile redirect tests

(Sorry, the previous pull to fix this was from a really old branch -- this is a fresh copy.)