Added validation tests.