added vest for read_line()
fixed read_line()
merged