test msgHandler