add unit test for call objc method