finish read config test case in test.cpp