Added publish test