More tests.

Fix ravelled_pos -- worked correctly for 2d indexes, but not greater.