Moved UnicodeBOM test to scanner_test