removing unnecessary expect and adding eof newlines for bad diff tools