Add basic tests for config.c:config_check_directory()
Properly check for config directory permissions.