S-48322 Relocated helpers from EventStore-Demo