Continuing port of command gateway from Axon
Made IntervalRetryScheduler test less of a functional test