fix minor warning in Enum test