finish testinput