Test receive event.