test local ref link in metadata