Fixed e-mail tests and removed print statement