NXP-14892: add missing dep to query.api for tests involving tasks