ensure cache works