integration test for async result in Java
Merge pull request #242 from yanns/async-java-result

integration test for async result in Java