adding better tests for the new rewrite settings