refactoring test - Update cordovaService