fix(rest): destroy cache after test

related to #CAM-2933