Fixed integration test for query returning name of emtpy result