improved unit tests & harmonized output

this patch improves `test_match` and `test_sync_send` unit tests
and makes the output of all unit tests equally formatted