Added a stream compaction test case