Note: This is actually how QueryInterface sets up the QueryGenerator, so it's a more valid test (and it makes the use of `this` work)