Rewrite Map test