fix deleteConnected.

better tests.
update coffeescript.