Add tests for settings cache backend. 
Fix default timeout in decorator.
Small fixes in tests.