Remove unused classes in tests bundles.