Unix integration tests not unmounting on crash

When unix integration tests are run, but crash before completing, E.G. forcing the test to stop using ctrl+C the mounted directories are not unmounted. Meaning the tests cannot be run again until these are manually unmounted and removed