Refactor(tests): change createIndex spec methods
Refactor(tests): change createIndex spec methods

change toEqual(true) to toBeThruthy
change look up method for checking the values of attributes
redefine beforeEach inside each suites

andela-batolagbe/inverted-index,andela-batolagbe/inverted-index