fix publish tests