moved distribution function signature test