test caching of placeholders