Update tests to new enum API

No match.