worked on test_if_error_when_element_is_not_in_index and method index