Test the configuration_directory function