Fixed test relying on non cache

https://github.com/kfgodel/diamond/issues/175