tract_querier with selftest