Fixes tests for Solr 4 and use python 3.3