Improve test cases.
Record the created time in message model.