Tick generator using interval.

Close #1166.
Not sure at the point of this test since it seems implicitly true from the above test