isolate tests by using temporary directories and properly undoing setwd() calls
Merge branch 'isolate' into 85-code-dir
adapt almost all tests