added validation tests