Fix Oracle provider on custom serialized enums, fix custom serialize tes...

...ts