trying to get more complex http operations working correctly in test run mode