nested enum tests