Add a test for DBClientConfig::isCopyOnDemandEnabled()