Update java docs and improves IT test cases. Prepared Unit tests.