Fix two bugs

* bad test in riemann.index
* bad deprecation in streams