added validation testing