fix for enum tests