Added object caching to CLI tests

I chose to have the caching off by default.
Initial tests show time savings between 4-8 minutes for all CLI
tests.
s/cacheableFunction/cacheable_function