testChooseInstancesToDeallocate implemented