Test the re-write module