add metadata community unit test