test for message commit