Add a unit test for (beg,end] inversion