Cache test fix

With better debugging messages to get more details on https://github.com/mapbox/mapbox-studio/issues/654.