Add unit test for Tag during nfa union