unit tests and pep8 cleanup

10 unit tests for SimpleCache and CacheItem
Pep8 cleanup