Wrote tests for ping and service scan.  Cleaned up relevant files.