Add test for fieldToAtomVector