finish IntervalTest include bug fixing.