tap-test: Run each test in a clean temporary directory

This matches the https://wiki.gnome.org/GnomeGoals/InstalledTests spec.
tests: Add more shutil tests