Added tests for simple-java