Fixed test_job_from_file

The master https://ci.openquake.org/job/master_oq-engine/1417/ is broken because a warning is not printed. The fix is to update the `params` dictionary before the validation.
The tests are running here: https://ci.openquake.org/job/zdevel_oq-engine/883