CB-7450 - Fix deprecations in cordova-ios unit tests