Tests for sender and reader