Added NativeAdapter unit-tests