Fix FlushFuture test case.