Added a unit test for the case of a host going down & coming back up,
using sinon to mock the ping failure.
And added a check to make sure we're not adding copies back to the clients list.