add PrepareFieldmap test