testResetPublish() test written for console output