add test, cast strings to buffers