Added more tests for the receiver.