test getfieldsadded