bug1019528-cache-builds - updated test and added setter for cache