Support and test iteration over enums