Instrument TestPing failure.
Added some diagnostic code to TestPing to help figure out why it fails on Jenkins.