Added a test to check enumerations based on trac#46, which has been solved for a while, so that it may be closed.