Add unit tests for metafield (currently none)