improved unit tests
fixed bug in timed_sync_send