test: make the number of stream tests configurable