add breaking test
handle when buffer was too small
2.0.1