added connect dep, fix failing tests.