Added safegaurd to test runner to prevent disk overflow