[PATCH v6 08/10] kunit: string-stream: Add tests for freeing resource-managed string_stream