fixed test for config function