Add test for makeWidget()