finally figured out how to do async requests in a test case