* fix(CacheInterface): logic bug in getTime * test
* fix: refactor cache factory * test: add failing test * add null cache