Fix shippable test for q3

It helps to actually run a query before checking its result.