unit tests on JNA