Test of alternative sampling functions