Check if starting Solr is necessary for testing