Finished unit tests for example to verify email sent is correct.