Fix tox test status
Add tests for index handling in ivi module
Return status of test run from setup.py
Use python setup.py test to run tests