* add test for cache invalidation
* add more tests
* documentation
