Refactor TestView
delete useless code in Connector.