Added unittests for bug#7420 - Cache issue when updating states.
Added unittests for bug#7420 - Cache issue when updating states.

s7design/otrs,MBRG/otrs,oiami/otrs,linearregression/otrs,brandonshults01/otrs,nilei/otrs,noritnk/otrs,s7design/otrs,StCyr/otrs,moritz/otrs,capeit-tto/otrs,s7design/otrs,muehlbauer/otrs,crythias/otrs,eliasp/otrs,linearregression/otrs,brandonshults01/otrs,thorsteneckel/otrs,crythias/otrs,brandonshults01/otrs,eliasp/otrs,balazj/otrs,rudy500/otrs,brandonshults01/otrs,muehlbauer/otrs,thorsteneckel/otrs,StCyr/otrs,xhoy/otrs,xhoy/otrs,muehlbauer/otrs,xhoy/otrs,MBRG/otrs,xhoy/otrs,balazj/otrs,MBRG/otrs,muehlbauer/otrs,noritnk/otrs,balazj/otrs,s7design/otrs,linearregression/otrs,rudy500/otrs,moritz/otrs,mbeijen/otrs-1,eliasp/otrs,crythias/otrs,s7design/otrs,xhoy/otrs,StCyr/otrs,MBRG/otrs,mbeijen/otrs-1,vlascoder/otrs,vlascoder/otrs,PortgasDAce/otrs,eliasp/otrs,PortgasDAce/otrs,eliasp/otrs,StCyr/otrs,balazj/otrs,oiami/otrs,nilei/otrs,PortgasDAce/otrs,mburggraf/otrs,brandonshults01/otrs,nilei/otrs,linearregression/otrs,MBRG/otrs,nilei/otrs,oiami/otrs,mbeijen/otrs-1,moritz/otrs,oiami/otrs,oiami/otrs,mburggraf/otrs,nilei/otrs,linearregression/otrs,PortgasDAce/otrs,noritnk/otrs,thorsteneckel/otrs,balazj/otrs,mburggraf/otrs,vlascoder/otrs,crythias/otrs,StCyr/otrs,thorsteneckel/otrs,rudy500/otrs,moritz/otrs,thorsteneckel/otrs,PortgasDAce/otrs,muehlbauer/otrs,capeit-tto/otrs,capeit-tto/otrs,moritz/otrs,mburggraf/otrs,crythias/otrs,rudy500/otrs,rudy500/otrs,mburggraf/otrs