[server][DBAgentTest] Replace ADD_NEW_ITEM with addNewItem().