buffer test work fine