Begin update of tests and using non phonegap specific API
Update to use new methods to request file access. Add test structures