Fix redirect command test.