test: add test for send_recv

Also ensure that `test/send_recvmsg.c` the recv thread finishs
before the process exits

Signed-off-by: Carter Li <carter.li@eoitek.com>
4 files changed