Fix async buffer test