java basic test