Test for IIntervalService#flush