test msgloopmanager