content_for. tests. resolvDefs from olado's upstream