added test for config