Fix get/set of EA's in client library. Added torture test for it.