tests for enums
document and test Type::Tiny::Class::new DWIM