Adding publish unit test.