just test java codes