tests for ClientPool