add unit tests for _base._chunk_str