pub fn create_test_file(data: &[u8], temp_dir: &Path) -> PathBuf
Create a temporary file with test data