Improve testing on GenericCollectionTypeResolver