Fix for enums test