Minor improvements of unit tests for EventSourcedRepository