add usage example unit test to java sdk page.