Halo: Add success expectation method to Query Test Trait.