Fix unittest for MAGMOM in nonscf incar