Added new publishSphere function and publish_sphere test script