validation tests for user name and email