Fix buffer leak in test which was introduced while implement ZLIB_OR_NONE support. Related to [#2269]