added test case for mapping enum to crate type string