jasmine test for cordova file plugin