Fix enum tests