Wrap the index and test it a bit

The test is tiny, but it does prove that the bindings do something.