Implement retain-release tests for the iOS framework