Add tests for map_async.