Fixed a test that ensures the LocalRewriter does not attempt to