Test improvement for CI: use an absolute file path for tmp