Fixed test query