Adding publish scenario tests