Unit test clear and merge methods of Collection