glue.iterutils:  add check of randindex() to tests
rate.py:  add example for NDBins.volumes()

- subjects it to a unit test (which it currently passes)