Coverage and better impl for repr_safe_str