Alias tests pass.
Index stats tests pass.
Merge pull request #288 from maciejkula/master

Fixes for test failures.