Implemented tests for IntervalSeq

Also implemented benchmark