Add test for duped smp_mflags appending.