Turns off caching when testMode is on