updated test case and config widget test