Validation tests.