give more helpful output if tests fail due to an EOFError while reading a command