Reworking error handling in ClientPool addClient and delClient
adding tests for ClientPool.addClient