added validation and initial test