test saving inlined fields