improved the config testing