Testing phonegap's contacts api