slightly annoying dependence on mixturemodel in test