Test if the query even runs