Added the testing of enumeration for list types.