add ehcache test code