Fix TestTSUIDQuery where the UID name lookup is not async now