Implement and test EcConnetionMangerLocal.