added email verification tests

This creates a simple smtp server to receive the verification email.