Fix unittest for itertools.permutations without second argument