cachetest: make cache size configurable