Add a mixin/policy-based test for parameters defined as traits.