changed the jna tests to use a temporary directory