fix creating 2 messages in a testcase