Tests to see that the redirections to error pages from the resources works correctly.
