Clear buffer every time we recv in test code, otherwise it can come out garbled or unupdated