Fixed tests for solr indexing