validation tests