Phonegap Android service testing