adds unit tests for fieldmapping