Ensure STOUT is flushed before getting to file modified tests