added copyfrom test for category tests