fix bug in default arity for allele number; add tests for issue #1