fixing password and email tests