removed flawed test assertion

The test had two shortcomings:
- it combined two unrelated aspects
- it verified that files get removed that were not created during this
  test. So the test outcome was dependent on execution sequence.
tests for shutdown with failIfNotRunning set to true and false