Added tests for widget registry