add half-interval testcase