add function to copy test data