Add test for reset password begin. ref #302