Adapted unit test for Travis-CI
- The createTemporaryFileWithPrefix method does not fail at Travis-CI; caused by Windows-Linux difference?