add validation tests