add tests for received_messages_with_receiver
compress definitions of methods related to received_messages
implement received_with_receiver?, received_once_with_receiver?, and count_received
correct wrong tests