Remove debugger statement
Fix bug in test
Add additional assertions to test on index
Merge pull request #18 from mojotech/pt/bugs

Pt/bugs