test for issue 45

Here is the test for issue 45: https://github.com/Suor/django-cacheops/issues/45
It fail before and pass after this commit: https://github.com/Suor/django-cacheops/commit/060b6e889805effa015bed50b5b19c11e0cace92