The integration tests start the distribution registry (the store's own program) in the test with its in-memory storage and the real PushBlob: the built bundle and archive each answer a reference ending in its digest, the key the builder would write is valid and deliverable, and the store serves bytes of that digest at the reference. The registry is imported by these tests alone (go list -deps of the programs does not name it).