Testing alpaca with phonegap