ERT-686: fixed test and testdata for ext_joblist_test
Moved variable declaration to function top.
Moved variable declaration to function top.
Merge pull request #619 from chflo/ert_686_fix_test_and_testdata_ext_joblist_test

ERT-686: fixed test and testdata for ext_joblist_test
fortio: moved declaration to top of function.