Test for StatsPublisher