nsqd: refactor IDENTIFY test helpers