Added chardet to mocks