Ensure test directories are not deleted