fixing variability analyses and tests