#27 add test case for Encoding Detector (import from Mozilla)