added a simple test for Enumeration