Add not-entirely-trivial tests, many proving #19
Fix #19 by using inverse index (because rotate rolls right, not left)
Merge pull request #19 from bitprophet/buggy-adapterset-insert

AdapterSet.insert() doesn't work in nontrivial situations