Add helloworld unit test

add unit test, which verifies the java code generator