adds unit tests for validating enumerations