improves tests to run async