[CB-4077] Fix tests for cordova-cli, properly uninstall plugin source