refactor unit tests to have common setup and use isolated index
minor tweak to the way that the test environment is bootstrapped
Merge pull request #332 from DOAJ/feature/refactor_test_suite

refactor unit tests to have common setup and use isolated index