More protostuff bytebuffer changes and test cases