Fixing tests for multi indexes.
Refactor sindex tests to be easier to modify.
Fix a few more test bugs.

Also adds a test that creates a multindex.
Adds tests for multindexes.
Fix a copy paste error.