fixed a bug in some unit tests (closes #1092)
fixed a bug in some unit tests (closes #1092)

gamernetwork/Twig,hason/Twig,huang53798584/Twig,craue/Twig,dkarvounaris/Twig,gamernetwork/Twig,gamernetwork/Twig,moufmouf/Twig,apishka/templater,Rvanlaak/Twig,peterkokot/Twig,robregonm/Twig,hason/Twig,huang53798584/Twig,derickr/Twig,hason/Twig,dkarvounaris/Twig,framewr/Twig,twigphp/Twig,derickr/Twig,fsw/Twig,dkarvounaris/Twig,hhamon/Twig,robregonm/Twig,jamessingizi/Twig,iKwinto/Twig,Tobion/Twig,twigphp/Twig,hhamon/Twig,bocharsky-bw/Twig,craue/Twig,phansys/Twig,nicolas-grekas/Twig,gencer/Twig,nicolas-grekas/Twig,phansys/Twig,fsw/Twig,bocharsky-bw/Twig,iKwinto/Twig,Tobion/Twig,znerol/Twig,moufmouf/Twig,nicolas-grekas/Twig,derickr/Twig,apishka/templater,Tobion/Twig,gencer/Twig,loi-chuanoi/Twig,framewr/Twig,robregonm/Twig,nicolas-grekas/Twig,jamessingizi/Twig,bocharsky-bw/Twig,moltin/Twig,huang53798584/Twig,moltin/Twig,nicolas-grekas/Twig,Rvanlaak/Twig,hhamon/Twig,jamessingizi/Twig,znerol/Twig,framewr/Twig,peterkokot/Twig,moltin/Twig,Rvanlaak/Twig,moufmouf/Twig,fsw/Twig,iKwinto/Twig,znerol/Twig,twigphp/Twig