added test for inMethod widget