Refactor the List<> tests