update the test to verify the ability to handle Enums