Testing file plugin for cordova