extended binarybuffer unit test.