TestReadInputLine generalized
fixing merge conflict from master
merge conflict