first version of NativeApiPatchingTestCase