Added test suite for streaming java API.