Initial update of tests. Set hitsPerPage for tests to 1 for smaller fixtures.json. Small fix for setHitsPerPage function