Added basic code for streaming tests.