Implement test_tryrecv_single and test_recv_single