Fixed a bug in enum tests.