[Java] Add a simple read lock call in HumanObjectPeerTest