Update Java cursors to use packing code. Also enhance JUnit usage.