move fieldmetainfo test to unittests

just move the existing test from the file itself to the uninttest structure, so it's executed every build.