understanding rust futures by write some tests