Added test for build with streams