restructuring the tests to have the same format as the others
removing the die() statements to make this recoverable
wiring the email sending to use mocks
removing incomplete tests