fix setbuffer() unit test to use char....