The ifupdown-extra package is available now in the Debian distribution, just go to packages.debian.org to retrieve it.

The package includes the network-test script to troubleshoot your network connections. This tool was previously available in the debian-goodies package.

Or grab the local copy (and its manpage) here although it might not be fully up-to-date.