updated tests, completed index exercise