final fixes to NativeEnum and related tests