LPS-44428 Copy from DLFolderSearchTest, no logic changes