[server][DBAgentTest] Use a new version of insert().