Completed Working Index Lookup and Unit Tests