Fixed test case for ValidationException class.