ínit tests with stream API