core: randomize perm test filename