Adding test for rewrite (foo.html -> bar.html)