Reverse async Java test method changes

The synchronous API that was there previously is actually better for most things. For other things using an integration test with a WS client is fine. Reverses 6503338 and 8810a0b from PR #2731.