I don't think this is the right path :)

I think you're using this because CFEngine automatically adds a "^.*(content).*$" regexp around the content, but could you please clarify this here, in the test, so that people understand?