Some little bugfixes in class Connector and creating UnitClass UnitTestConnector