for phoneGap tests