added stream and parallel tests