BZ 765854 Making the agent fault tolerant of the network services on a host not being started Also generally increasing test coverage on the agent