refactored testDBAgentSQLite3.