Add more test code and accessor function to get config by section name