Update test rewrite for foo.html -> bar.html