Allows django-cacheback to work with DummyCache for development

The code that checks whether the value was correctly stored was raising "Unable to save data of type %s to cache" exceptions when I used DummyCache for local testing (which doesn't store any value), so I adjusted it to test for DummyCache.