added (globalish) repository setup and search result array for SearchTest

Should improve code duplication, see https://github.com/ongr-io/ElasticsearchBundle/issues/8