Test msgcnt