add publish test