Some tests with intervals.