Add tests for 'oneOf' and 'noneOf'