added unit test for message visibility on receive