Adding validation tests.