Unit tests for writing with the configuration cache handler.