add tests for enums