Fixed future_wait test