make sure core.config_dir is set for tests, this got broken in 1405b137a89a4ef2478133727c2360f910f05cb7, refs #305 and #1260