interval test to check like