added some experimental variations on ks tests