Rspec for casting to solr and cql3