maint - fixup tests to stub dataquery_interface

Since version 2.3.2 (25160d88) it's been neccesary to stub out
ddl.dataquery_interface.  This commit adds that mocking to enable
the tests to run again.