testing: avoid overwriting existing target file in tests