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