Clean up functional tests for alert detection removing the need for
the telnetclient package.

Style change