fix global Buffer test