[server][testDBAgent] Add a new method: dropIndex().