Testing Phonegap app for file and file-transfer plugins