added test to cover all enum declarations