changed the way test data is copied