Add jna test code