Added mix function tests