Fixed bug in RecentFilesTest