fix interval test