Added QueryCache Junit test