command and eventsourced tests