Improve test coverage on disconnect.
Updated test coverage, update devdependencies.