add runtest check for last bug fix
implementing sending EOR from the API