[server][testDBAgent] Test the case for non-UNIQUE index.