tests: more sophisticated tests for 'oneOf'