unit testing snp_dist