Modified EnumerationValue.Validate to test for null value. Added test
to EnumerationValueTests to test null value in call to Validate.
Added classes Mode and ModeTests.