Fixed test use of rewrite arg.