def METHOD_NAME(self):
    """
    Test test modules command filter by metricset
    """
    self.write_system_yml()
    self.write_nginx_yml()
    exit_code = self.run_beat(
        logging_args=[],
        extra_args=["test", "modules", "system", "cpu"])
    assert exit_code == 0
    assert self.log_contains("cpu...OK")
    assert not self.log_contains("memory...OK")