fix: removed unexpected "dragstop" when dragging a new connection from an anchor
added initial unit test for connection