added tests for read_messages()
examples for test_read_messages() in Tests