make sure core.config_dir is set for tests, this got broken in cdd453bd31d324d8b6980da339b1878ffbead153, refs #380 and #1357