test($cordovaAppAvailability): add unit tests for errorCb