Add tests for enum discriminant sizing.