publish: fixed tests

generated from commit 4e7a1c7554dfbc25b617f9b2a974c2932dfc8458