end-to-end self-test for publish and search for package