config import/export tests; fixes #698