Add unit test for Cache (ehcache)