fixed test method
start coding test_index method