Add unit test for rescue page