Fix failing unit test which expected a file to be in a certain location. The test now reads the data from the classpath and writes it to a temporary file which can then be opened for random access.