Added rewriteRule test Issue #4