fix hardcode database connection string in testlib.
use provide-dbconn in upsert.sl to get database connection string