add slice/frame copy UT for EC
Merge pull request #742 from huili2/ec_ut_copy

add slice/frame copy UT for EC