Fix tests when solr server is inaccessible to pedant