fix copying of tests