fixed NPE when no results returned due to error
fixed test now that we actually paginate using Solr pagination parameters