add basic utest for config directive