Added unit tests for bug #7937 and #7972.
Added unit tests for bug #7937 and #7972.

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