title: How do I reset the application data after each test with Xcode 7 UI Testing?
body: <p>Apple introduced in Xcode 7 new UI Testing but I have a struggle whenever the tests launches the app, it starts with data that the application had before. It means tests cannot be independent and can be influenced by other tests.</p>
  
  <p>It is not possible to access user defaults and other data because the application that is running tests has no access to the bundle of the tested application. Scripts are also out of question because they can be run before or after testing. And there is no way how to execute NSTask on iOS to run a script before each test suite.</p>
  
  <p>Is there a way how do reset the application data before each test suite?</p>