add UT for query status