test for receiving messages by actor