Validation error display and unit tests.