Integrated Catch unit testing framework. Fixed a bug in nnb::chopRight.