Testing that rewrite rules are set.