unit tests for solr document service