Restored localhost in test_index.py