structure around test_recv