tests: use "env" to run commands with temporary env-var settings