Added dispatch test to ConnectorTest.php