cleaned up tests fro DBAgentTest by integration of assertInsert and assertUpdate.