Improve the enum serialization tests. Fix LoadReferencesJoinTests on Ora...

...cle.