test fix for metrics on plugin enable