adapting the QueryLifeCycleTest to the last npc version