use rspec mocks to avoid getting errors for non-existent solr index

This is to fix the broken jenkins build (post Chris Beer updates)

@lmcglohon