Django CommonMiddleware UnicodeDecodeError test case