test resizable buffer in kryo Output