Fix test code so will work with card with real history object. 
Fix test code so will work with card with real history object. 


git-svn-id: 444ed946b9c2220da791e84c3dd156a05f92db99@4807 c6295689-39f2-0310-b995-f0e70906c6a9

adminmt/OpenSC,fabled/OpenSC,LudovicRousseau/OpenSC,tidatida/OpenSC,philipWendland/OpenSC,UIKit0/OpenSC,dengert/OpenSC,aobaid/OpenSC,dirkx/OpenSC.tokend,marschap/pkg-opensc,mtrojnar/OpenSC,velter/OpenSC,mtrojnar/OpenSC,0x7678/myOpenSC,dengert/OpenSC,aobaid/OpenSC,carlhoerberg/OpenSC,gentoo/OpenSC,aobaid/OpenSC,hongquan/OpenSC-main,LudovicRousseau/OpenSC,carlhoerberg/OpenSC,gentoo/OpenSC,ieugen/OpenSC,dirkx/OpenSC,0x7678/OpenSC,gemini/OpenSC,financeX/OpenSC,0x7678/OpenSC,frankmorgner/OpenSC,marschap/pkg-opensc,dirkx/OpenSC,gemini/OpenSC,tidatida/OpenSC,financeX/OpenSC,UIKit0/OpenSC,0x7678/myOpenSC,metsma/OpenSC,adminmt/OpenSC,hhonkanen/OpenSC,0x7678/OpenSC,martinpaljak/OpenSC,OpenSC/OpenSC,fabled/OpenSC,Jakuje/OpenSC,gentoo/OpenSC,hhonkanen/OpenSC,0x7678/OpenSC,carlhoerberg/OpenSC,dirkx/OpenSC.tokend,viktorTarasov/OpenSC-SM,ieugen/OpenSC,l1k/OpenSC,mouse07410/OpenSC,0x7678/myOpenSC,fabled/OpenSC,philipWendland/OpenSC,viktorTarasov/OpenSC-SM,gentoo/OpenSC,velter/OpenSC,kasparsd/opensc-latvia-id,AktivCo/OpenSC,martinpaljak/OpenSC,rickyepoderi/OpenSC,carlhoerberg/OpenSC,Jakuje/OpenSC,germanblanco/OpenSC,financeX/OpenSC,kasparsd/opensc-latvia-id,velter/OpenSC,velter/OpenSC,nmav/OpenSC,hongquan/OpenSC-main,nmav/OpenSC,kasparsd/opensc-latvia-id,AktivCo/OpenSC,CardContact/OpenSC,ieugen/OpenSC,mtrojnar/OpenSC,frankmorgner/OpenSC,mouse07410/OpenSC,dirkx/OpenSC.tokend,germanblanco/OpenSC,marschap/pkg-opensc,rickyepoderi/OpenSC,UIKit0/OpenSC,kasparsd/opensc-latvia-id,metsma/OpenSC,adminmt/OpenSC,dirkx/OpenSC.tokend,rickyepoderi/OpenSC,ieugen/OpenSC,l1k/OpenSC,philipWendland/OpenSC,frankmorgner/OpenSC,nmav/OpenSC,ieugen/OpenSC,frankmorgner/OpenSC,carlhoerberg/OpenSC,tidatida/OpenSC,AktivCo/OpenSC,dirkx/OpenSC.tokend,hongquan/OpenSC-main,jpki/OpenSC,CardContact/OpenSC,hhonkanen/OpenSC,aobaid/OpenSC,OpenSC/OpenSC,mouse07410/OpenSC,financeX/OpenSC,0x7678/myOpenSC,fabled/OpenSC,Jakuje/OpenSC,dirkx/OpenSC,tidatida/OpenSC,UIKit0/OpenSC,gemini/OpenSC,CardContact/OpenSC,marschap/pkg-opensc,jpki/OpenSC,metsma/OpenSC,germanblanco/OpenSC,financeX/OpenSC,jpki/OpenSC,dirkx/OpenSC,l1k/OpenSC,viktorTarasov/OpenSC-SM,Jakuje/OpenSC,dirkx/OpenSC,LudovicRousseau/OpenSC,0x7678/myOpenSC,dirkx/OpenSC.tokend,martinpaljak/OpenSC,dengert/OpenSC,gentoo/OpenSC,adminmt/OpenSC,OpenSC/OpenSC