* Added tests for Clear Cache Command. * Fix side-effects breaking other tests Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>