added tests for validate_email