test ehcache method in tasks api