Improve testing for -load-file