TEST0: implement send/receive data in common