fixed email tests