test for custom_query
correct a.querywidget dependency