Fixed unit test for stats client (because of sync/async capability) #105