Added test for "interval()"