added validation test