test for tagging hypergraph
fixed hypergraph bug