@Test
public void testMergePositions2() throws IOException {

	List<OffsetPosition> position1 = new ArrayList<OffsetPosition>();
	List<OffsetPosition> position2 = new ArrayList<OffsetPosition>();
	position1.add(new OffsetPosition(0,2));
	position1.add(new OffsetPosition(4,5));
	position2.add(new OffsetPosition(3,4));
	position2.add(new OffsetPosition(8,10));
	List<OffsetPosition> positions = Utilities.mergePositions(position1,position2);
	assertEquals(positions.size(), 3);
	assertEquals(positions.get(0).start, 0);
	assertEquals(positions.get(0).end, 2);
	assertEquals(positions.get(1).start, 3);
	assertEquals(positions.get(1).end, 5);
	assertEquals(positions.get(2).start, 8);
	assertEquals(positions.get(2).end, 10);
}