remove turd leftover from intermediate refactoring
avoid trying to load current modes if the file does not exist
fixing busted specs on windows
fix tests for content provider