Additional tests in for loops with enumerated types