Correct bug in ClientHelper, add test for failed calculation