improved test coverage for enumeration/traits.hpp