add more tests to Interval