Move pearson's test into its own model