Don't assume the test directory is writable, use %T to find a writable
directory.