Added two more tests, fixed find index of array of words if word does not exist in array