Removed some duplication in ClassicalRiskTestCase

There will be much more to remove. The tests are running here: https://ci.openquake.org/job/zdevel_oq-engine/900