adding some spec for custom enum conversion type