tests for Enums