Add tests for sending welcome emails