Fixed test data query