mid-way mergetest
modified test2 so that edgetest is carried out for all alleles