Issue2 tests fail on windows

From the javadoc of File.createTempFile():
"Creates an empty file in the default temporary-file directory, using the given prefix and suffix to generate its name."

The default temporary-file dir should equal java.io.tmpdir which can be extracted using System.getProperty(). This could have been used, but then you would have construct a file using this string + file name. The current approach just gives fewer lines of code.