Add test for widget dependencies