Added an extra test when writing ionmix files