publish: fixing tests

generated from commit 6d60b4502c44047924618a538cd8bef13dedc54b