Added unit tests. Issue #3.
Reordered some unit tests statements.
Added @override_settings support on cache settings.