add message manager test case