Feature/email tests