Adds a (failing) unittest for reset_data.
Adds a unittest for oversized keys.

It's failing right now and needs to be fixed.
Adds a test for sindexes with missing attributes.

This test is failing right now because we don't support this correctly.
This test was actually not testing the right thing at all.
Merge branch 'next' into tmp_merge