socket test and ehcache test