Added PU test for invalid MODATTRs (refs #3837)
add several check for MODATTR (refs #3837)