tests: define CONFIG_DIR in utils.