Please use JUnit assertions, such as AssertJUnit.assertEquals() as they are more readable and provide better messages on failure.
Also, using /tmp as a location will not work on non-Unix environments. You should use the env variable java.io.tmpdir