refactored solr test.