[DBAgentTest] Remove the implementation dependent code.