Adds QA tests to cover the chula_buffer_ensure_size(),
chula_buffer_drop_ending(), chula_buffer_swap_chars(), and
chula_buffer_remove_dups() functions.