fix copyfrom error on virtual fields
update test suite