added tests for GetEventStore and updated implementation accordingly