complete test case.
- complete remove sub buffer support to simply implement.
- remove alloc() and free(), add setlen().
- remove append(), use insert() instead.
- remove assign(), use set() instead.
- change char()'s behavior, it now append to buffer.
- remove tostring(), use standard tostring() instead.