tests passing for oneOf