DefaultFileTypeDetector cause test failure on linux box