test/CacheClient: refactor decorator proto handling