test with django<1.6.99 like in django elasticutils