I had to refactor a number of things to use smart pointers in point clouds, and I had deleted my previous tests in Main.java. I decided to implement junit tests. A separate project is required so that the native code will compile before the tests are run, and still use header generation from the JNI classes.