update all tests to not create temporary files (use JUnit TemporaryFolder class everywhere temp files are created)