Removed rewrite tests