Require django_compressor >= 1.4 and remove BeautifulSoup dependency
Use bytes and six.text_type with isinstance instead of str and unicode
Improve mocked response content