[CB-4077] Fix tests for cordova-cli