Testing for simple java program.