I think you can use `assertQuery()` here which has a two argument form that takes the SQL for Presto and the SQL for H2.