add test case LwfSetting class.