added test for b_string_free