RewriteRules: add test for rewriting an element inside a parent that
also gets rewritten (e.g. link ref inside header element)