Update and rename test.cc to sgConfig_main.cc