fix some tests
Merge pull request #35 from lukaselmer/index-fixes

fix some tests