copySampleTests method should not overwrite existing files