replace quality with content policy.
unit tests.