De-bloat widget test cases