JBTM-715

More unit tests to improve coverage for JTS.