Added capped stream test case.