Add SignQuery and TestQuerySign