msgcenter_test: fixing #4 #5 #6