added unit test from https://github.com/lucastheisen/jsch-nio/issues/4