added test for instance widget