Fixed QueryTest, FileManagerTest.