Fixed CARSETFormat losing POS mandatory attribute at write time. Adatped
related tests and tests data.