Tests: Cover plugin cache invalidation.
Verify that wp_clean_plugins_cache() clears the plugin discovery cache and handles the update transient correctly for omitted, true, and false arguments.
Developed in: https://github.com/WordPress/wordpress-develop/pull/14626
Props shailu25, huzaifaalmesbah.
See #65819.