Error correction and added testing for size on list.