Updated test case for enum.