added email tests