tests for enum (one of them failing)