Added tests for Connector.php