Bencode changed, tests added