Fix to avoid sefault in the tests
Merge branch 'master' of github.com:gem/oq-qgis