Test for repeating intervals