fix test, remove io.read on console