Increase test speed by removing unnecessary file operations