test properties in native code