Increased code coverage of event sourcing component