new tests for send() and onmessage()