test classes for widget2 should only rely on API
Removed trash code in widget2