tests: Add automatic test for msg_send_receive