Add sleep test.
Split comparator.
Replace timer service.