Added error test case for attempting to compact a list of lists.
Added conflicting indexes error test case.