Add tests for enums annotated with [Flags]