Test the query path for external queries.
Cover compile for Quickcheck CI.