fixed erroneous publish in test