fixes to alleles & tests