tests: Add automatic test for msg_send_receive

Tests if values past around by msg_send_receive are actually received at the other end.

Partly alternative to #1939 

**ATTENTION**: this test is currently not working, due to a bug in `core`