Fix interval test