Added unit test for Priority caching issue.
Added unit test for Priority caching issue.

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