Most scopped enums are using uint8_t which ends up displaying non printable characters. Falling back to int allows the value to be displayed as number, which makes the failing tests output more valuable