[added]Added some simple java class tests