generating mixing bijections + test case