fixed tests related to sending welcome and notification emails