Added wrapper function for probTest