Update ffi types. Add Map to NativeType. Add Map test.