test
nsqd: refactor stats collection for regression introduced in #242