update test for msg_length