Basic tests for `bencode.metainfo.writer` ns.