eventstore repository impl + tests