Fix redirect message test.