added some validation tests