test case for notary query handler