update API calls in tests to make it pass (was using a hack that now breaks, had incorrect expected value)