Testing the Sender class