Added first unit tests for jnipap

Added a unit test framework for jnipap. It's very far from complete, but
at least something...

Fixes #334