apply test fixes
serialize_buffer test fixes