Util Publish/unPublish: Added test