Update tests and add new redirect integration tests.