ehcache test code