Added "tests" dir to SetUpJAABAPath.  Fixed some minor issues with test code.