added validation tests for user