add test for messageTime