Test ErasureCode