Some java testing