Making sure the callback is called on every freeClient call and making tests more self-explanatory.