Fixed unit test that broke as a result of my commit before the QueryDefineRef merge.