chula_buffer_insert didn't cover a few corner cases properly.
Covers chula_buffer_insert()