Fixed everything, test case works - culprit was HTTPClient responses