add failing test which uncovers broken handling of skipping when close commands are present
partially fix test 7 - last line_to is still incorrect