chore(tests): Replace /tmp with CWD/tmp for testing

For the functional tests, this is achieved via a symlink from /tests/functional/tmp -> $(pwd)/tmp. There’s probably a less hacky way to do this. :-)