tests for user: valid and invalid email