Add some more test cases, tests and some infrastructure for JHelper
package.