Improves corner cases checking on chula_buffer_replace_string()
Add a new QA test entry to cover chula_buffer_replace_string()