Replace string with list for couchbase test